// MFCControlPropPage.cpp : Implementation of the CMFCControlPropPage property page class.

#include "stdafx.h"
#include "MFCControl.h"
#include "MFCControlPropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CMFCControlPropPage, COlePropertyPage)



// Message map

BEGIN_MESSAGE_MAP(CMFCControlPropPage, COlePropertyPage)
END_MESSAGE_MAP()



// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CMFCControlPropPage, "MFCCONTROL.MFCControlPropPage.1",
	0x8cf0582b, 0x7fd6, 0x4edf, 0xa2, 0x4f, 0x1d, 0xd5, 0x1d, 0x86, 0xc7, 0xef)



// CMFCControlPropPage::CMFCControlPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CMFCControlPropPage

BOOL CMFCControlPropPage::CMFCControlPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_MFCCONTROL_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}



// CMFCControlPropPage::CMFCControlPropPage - Constructor

CMFCControlPropPage::CMFCControlPropPage() :
	COlePropertyPage(IDD, IDS_MFCCONTROL_PPG_CAPTION)
{
}



// CMFCControlPropPage::DoDataExchange - Moves data between page and properties

void CMFCControlPropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}



// CMFCControlPropPage message handlers
